﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceCS.GoodsSale.Models.GoodsModels
{
    /// <summary>
    /// 销售记录类
    /// </summary>
    public class Sale
    {
        /// <summary>
        /// 单号
        /// </summary>
        public int SaleID { get; set; }
        /// <summary>
        /// 商品号
        /// </summary>
        public string GoodsID { get; set; }
        /// <summary>
        /// 商品名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 进价
        /// </summary>
        public decimal InPrice { get; set; }
        /// <summary>
        /// 售价
        /// </summary>
        public decimal OutPrice { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal TotalPrice { get; set; }
        /// <summary>
        /// 盈利额
        /// </summary>
        public decimal Earnings { get; set; }
        /// <summary>
        /// 日期
        /// </summary>
        public string Date { get; set; }
        /// <summary>
        /// 销售员
        /// </summary>
        public string Seller { get; set; }
    }
}
